package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Worksection;
import com.lucher.mes.po.Worksection;

public interface WorksectionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Worksection record);

    int insertSelective(Worksection record);

    Worksection selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Worksection record);

    int updateByPrimaryKey(Worksection record);
    
    //自定义接口
    List<Worksection> findByList(Worksection record);
    List<Worksection> findByListForPage(Worksection record);
    Integer findByCount(Worksection record);
	Worksection findByCode(String code);
}